package com.jmp.sms;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "one.sms")
public class SmsProperties {
    private List<OneSms> clientList;
    private TemplateCode templateCode;

    @Data
    public static class OneSms {
        private String appId;
        private String accountKeyId;
        private String accessKeySecret;
        private String outId;
        private String signName;
    }

    @Data
    public static class TemplateCode {
        private String loginSms;
        private String joinCompany;
        private String unreadMsg;
        private String jxsSign;
        private String jxsTicketSave;
        private String jxsSignSuccess;
        private String jxsSignFail;
        private String jxsSignSuccessSupplier;
        private String jxsSignFailSupplier;
    }
}
